package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.math.BigInteger;

@FieldTypeAnnotation(tableName = "t_l_ck_publish_marriage_apply", desc = "发布跨服联姻", autoSave = true, uploadCk = true)
public class LogPublishMarriageApply extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "徒弟uid")
    private String childUid;
    @FieldTypeAnnotation(desc = "徒弟名字")
    private String childName;
    @FieldTypeAnnotation(desc = "是否跨服")
    private boolean isCross;
    @FieldTypeAnnotation(desc = "联姻限制赚速")
    private BigInteger limitEarnSpeed;

    public LogPublishMarriageApply(long userId, String childUid, String childName, boolean isCross, BigInteger limitEarnSpeed) {
        this.userId = userId;
        this.childUid = childUid;
        this.childName = childName;
        this.isCross = isCross;
        this.limitEarnSpeed = limitEarnSpeed;
    }

    public long getUserId() {
        return userId;
    }
}
